<?php
class listAction extends sfAction
{
    public function execute($request)
    {
        $page = $this->getUser()->getPage();

        if (!$page->isInstalled())
            $this->redirect('@install_step1?&page_id='.$this->getUser()->getPageId());
        return sfView::SUCCESS;
    }
}
?>